﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%@ Import Namespace="SPConf.Extensions" %>
<%
  if (Request.IsAuthenticated)
  {
%>
Welcome <b>
  <%= Html.ActionLink(Page.User.GetName(), "Profile", "Account") %></b>! [
<%= Html.ActionLink("Log Off", "LogOff", "Account") %>
]
<%
  }
    else
    {
%>
[
<%= Html.ActionLink("Log On", "LogOn", "Account") %>
]
<%
  }
%>
